package com.sinoair.domain.PKM;

import javax.persistence.*;
import java.util.Date;

/**
 * PKM3 个人知识管理
 * 分类明细
 * <pre>
 *  Version         Date            Author          Description
 * ---------------------------------------------------------------------------------------
 *  1.0.0           2017/09/09     senlin        -分类明细
 * </pre>
 *
 * @author senlin
 * @version 1.0.0 2017/9/9 0009 21:18
 * @date 2017/9/9 0009 21:18
 * @since 1.0.0
 */
@Entity
@Table(name = "pkm_category")
public class Category {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    private String classId;
    private String category;
    private String classOrder;
    private String tmpPageId;
    private String tmpContentId;
    private boolean bookMark;
    private int icon;
    private int fontColor;
    private Date timeModify;

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getClassOrder() {
        return classOrder;
    }

    public void setClassOrder(String classOrder) {
        this.classOrder = classOrder;
    }

    public String getTmpPageId() {
        return tmpPageId;
    }

    public void setTmpPageId(String tmpPageId) {
        this.tmpPageId = tmpPageId;
    }

    public String getTmpContentId() {
        return tmpContentId;
    }

    public void setTmpContentId(String tmpContentId) {
        this.tmpContentId = tmpContentId;
    }

    public boolean isBookMark() {
        return bookMark;
    }

    public void setBookMark(boolean bookMark) {
        this.bookMark = bookMark;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public int getFontColor() {
        return fontColor;
    }

    public void setFontColor(int fontColor) {
        this.fontColor = fontColor;
    }

    public Date getTimeModify() {
        return timeModify;
    }

    public void setTimeModify(Date timeModify) {
        this.timeModify = timeModify;
    }
}
